package com.bruce.dao;

import java.util.List;

import com.bruce.model.Permission;
import com.bruce.model.RolePermission;

public interface RolePermissionDao {
	int insert(RolePermission impl); 

	int update(RolePermission impl); 

	List<RolePermission> selectByRid(RolePermission impl);
	
	int delete(int rid, int pid);
	
	List<Permission> permissionsByRid(int rid);
	
	int deleteByRid(int rid);
	
}
